using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ScoreRecorder : MonoBehaviour
{
    private static Text scoreText;

    private void Awake() {
        scoreText = GetComponent<Text>();
    }

    private void Start() {
        UpdateScore();
    }

    public static void UpdateScore()
    {
        scoreText.text = ScoreManager.Instance.GetCurrentScore().ToString();
    }
}
